<!--{include file='admin/public/header.html'}-->
<!--编辑器JS-->
<link rel="stylesheet" href="view/admin/public/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="view/admin/public/kindeditor/plugins/code/prettify.css" />
<script charset="utf-8" src="view/admin/public/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="view/admin/public/kindeditor/lang/zh_CN.js"></script>
<script charset="utf-8" src="view/admin/public/kindeditor/plugins/code/prettify.js"></script>
<script type="text/javascript">
$(function(){
	$("#addJobFrom").validationEngine();
	
});
var editor1,editor2;
KindEditor.ready(function(K) {
    editor1 = K.create('textarea[name="jobdes"]', {
        cssPath : 'view/admin/public/kindeditor/plugins/code/prettify.css',
        uploadJson : 'view/admin/public/kindeditor/php/upload_json.php',
        fileManagerJson : 'view/admin/public/kindeditor/php/file_manager_json.php',
        allowFileManager : true
    });


    //prettyPrint();
});
</script>
     <div class="content">
        <div class="page-header">
          <h3 class="fl">增加招聘信息</h3>
          <div class="user_message fr"><i class="icon-wrench"></i>增加您的招聘信息</div>
          <div class="cl"></div>
        </div>
        <form id="addJobFrom" class="form-inline" action="" method="post">
        <table class="table set_table">
          <thead>
            <tr>
              <th width="11%" >功 能</th>
              <th >配 置</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>所属栏目</td>
              <td>
              <select class="validate[required]"  class="span3 parentCate " name="cateid"  >
              <!--{foreach from=$cate key=k item=v}-->
                <optgroup label="<!--{$v.categoryname}-->"><!--{$v.categoryname}--></option>
                <!--{foreach from=$v.items key=ik item=iv}-->
                <option value="<!--{$iv.id}-->"  type="<!--{$iv.type}-->" ><!--{$iv.categoryname}--></option>
                <!--{/foreach}-->
            <!--{/foreach}-->
              </select>
              
              </td>
            </tr>
            <tr id="logourl" style="display:none">
            </tr>
            <tr>
              <td>招聘名称</td>
              <td>
              <input class="validate[required]" class="span4" name="name" id="cl_name" type="text" x-webkit-speech />
              </td>
            </tr>
            <tr>
              <td>联系邮箱</td>
              <td>
              <input class="validate[required,custom[email]]" class="span4" name="email" id="cl_name" type="text" x-webkit-speech />
              </td>
            </tr>
            <tr>
              <td>联系电话</td>
              <td>
              <input class="validate[required,custom[phone]]" class="span4" name="tel" id="cl_name" type="text" x-webkit-speech />
              </td>
            </tr>
            <tr>
              <td>联系手机</td>
              <td>
              <input class="validate[required,custom[phone]]" class="span4" name="phone" id="cl_name" type="text" x-webkit-speech />
              </td>
            </tr>
            <tr>
              <td>招聘人数</td>
              <td>
              <input class="validate[required,custom[integer]]" class="span4" name="nums" id="cl_name" type="text" x-webkit-speech />
              </td>
            </tr>
            <tr>
              <td>岗位描述</td>
              <td>
              <textarea name="jobdes" cols="" rows="20" class="span9"></textarea>
              </td>
            </tr>
            
          </tbody>
        </table>
         <p class="border_top"> 
         <input type="submit" value="添加" class="btn btn-primary btn-small input-small" />
         </p>
        </form>
       
  </div>
<!--{include file='admin/public/footer.html'}-->